Interface Particles.StreamAction<T extends IEmitter>

Enclosing class:
Particles

public static interface Particles.StreamAction<T extends IEmitter>
Action that can be performed before each generation in a Particles.stream(IEmitter, int, float, float, StreamAction) call.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    apply(T emitter)
     
  • Method Details

    • apply

      boolean apply(T emitter)
      Parameters:
      emitter - IEmitter that is about to generate particles.
      Returns:
      If false, the stream will stop generating particles. Otherwise, has no effect.